export default [
  {
    path: '/page/index', name: 'Index', component: () => import('@/components/PeskIndex'),
    meta: {role: [], title: 'Pesk首页'}
  },
  {
    path: '/page/home', name: 'Home', component: () => import('@/views/home/SystemInfo'),
    meta: {role: [], title: '运行状态'}
  },
  {
    path: '/page/user/add', name: 'UserAdd', component: () => import('@/views/user/UserAdd'),
    meta: {role: [], title: '添加用户'}
  },
  {
    path: '/page/user/manager', name: 'UserManage', component: () => import('@/views/user/UserManager'),
    meta: {role: [],title: '用户管理'}
  },
  {
    path: '/page/admin/add', name: 'AdminAdd', component: () => import('@/views/admin/AdminAdd'),
    meta: {role: [],title: '添加管理员'}
  },
  {
    path: '/page/admin/manager', name: 'AdminManager', component: () => import('@/views/admin/AdminManager'),
    meta: {role: [],title: 'admin管理'}
  },
  {
    path: '/page/blog/add', name: 'BlogAdd', component: () => import('@/views/blog/BlogAdd'),
    meta: {role: [],title: '添加文章'}
  },
  {
    path: '/page/blog/manager', name: 'BlogManager', component: () => import('@/views/blog/BlogManager'),
    meta: {role: [],title: '管理文章'}
  },
  {
    path: '/page/customer', name: 'Customer', component: () => import('@/views/customer/CustomerIndex'),
    meta: {role: [],title: '客服系统'}
  },
  {
    path: '/page/monitor/log', name: 'MonitorLog', component: () => import('@/views/monitor/MonitorLog'),
    meta: {role: [],title: '日志中心'}
  },
  {
    path: '/page/monitor/center', name: 'MonitorCenter', component: () => import('@/views/monitor/MonitorCenter'),
    meta: {role: [],title: '监控中心'}
  },
  {
    path: '/page/monitor/detail', name: 'MonitorDetail', component: () => import('@/views/monitor/MonitorDetail'),
    meta: {role: [],title: '监控详情'}
  },
  {
    path: '/page/oauth', name: 'Oauth', component: () => import('@/views/oauth/OauthList'),
    meta: {role: [],title: 'Oauth管理'}
  },
  {
    path: '/page/post/add', name: 'PostAdd', component: () => import('@/views/post/PostAdd'),
    meta: {role: [],title: '添加帖子'}
  },
  {
    path: '/page/post/manager', name: 'PostManager', component: () => import('@/views/post/PostManager'),
    meta: {role: [],title: '管理帖子'}
  },
  {
    path: '/page/task/add', name: 'TaskAdd', component: () => import('@/views/task/TaskAdd'),
    meta: {role: [],title: '添加任务'}
  },
  {
    path: '/page/task/manager', name: 'TaskManager', component: () => import('@/views/task/TaskManager'),
    meta: {role: [],title: '管理人物'}
  },
  {path: '/page/403', name: 'Forbidden', component: () => import('@/views/error/Forbidden'),
    meta:{role:[],title:'权限不足'}
  },
  {path: '/page/*', name: 'NotFound', component: () => import('@/views/error/NotFound'),
    meta:{role:[],title:'404'}
  }
]
